package cn.itcast.Service;

import cn.itcast.Mapper.Mapper;
import cn.itcast.pojo.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ServiceImpl {
@Autowired
   private   Mapper  mapper;
    public Order getById(int i) {
        Order order=  mapper.getById(i);
        return order;
    }
}
